Add a script to copy eval run results to Turso#2452
Conversation
|
| const copyRun = async (runId: number) => { | ||
| const destDb = drizzle({ | ||
| schema, | ||
| connection: { url: process.env.TURSO_CONNECTION_URL!, authToken: process.env.TURSO_AUTH_TOKEN! }, |
There was a problem hiding this comment.
Consider checking that TURSO_CONNECTION_URL and TURSO_AUTH_TOKEN are defined instead of using non-null assertions. This improves error clarity if the env variables are missing.
|
|
||
| console.log(`Copying ${tasks.length} tasks`) | ||
|
|
||
| for (const task of tasks) { |
There was a problem hiding this comment.
The loop inserting each task and its taskMetrics might benefit from a transaction to ensure atomicity and data consistency. Consider wrapping these DB operations in a transaction.
fix: update ChatRowContent(user msg in chat windows) background and font size for better styling Add o1-pro to api.ts (RooCodeInc#2433) Add the o1-pro model to the openai section. Sourced model info from: https://platform.openai.com/docs/models/o1-pro Update contributors list (RooCodeInc#2411) docs: update contributors list [skip ci] Co-authored-by: mrubens <mrubens@users.noreply.github.com> Add custom instructions for de (RooCodeInc#2383) v3.11.11 (RooCodeInc#2435) API fixes (RooCodeInc#2438) Changeset version bump (RooCodeInc#2436) * changeset version bump * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com> More sane evals default concurrency + staggered startup (RooCodeInc#2441) Fix gh fork command (RooCodeInc#2442) Add a script to copy eval run results to Turso (RooCodeInc#2452) Fall back on aggressive line number stripping in diffs (RooCodeInc#2453) * Add option for aggressive line number stripping * Fall back on aggressive line number stripping in diffs Make Grok3 streaming work with OpenAI Compatible (RooCodeInc#2449) Update contributors list (RooCodeInc#2434) docs: update contributors list [skip ci] Co-authored-by: mrubens <mrubens@users.noreply.github.com> v3.11.12 (RooCodeInc#2454) Changeset version bump (RooCodeInc#2455) * changeset version bump * Updating CHANGELOG.md format * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: R00-B0T <github-actions@github.com> Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Context
Implementation
Screenshots
How to Test
Get in Touch
Important
Add
copy-run.mtsscript to copy eval run results to Turso, with necessary configuration updates.copy-run.mtsscript to copy eval run results to Turso.db:copy-runscript command inpackage.json.turbo.jsonto includeTURSO_CONNECTION_URLandTURSO_AUTH_TOKENinglobalEnv.This description was created by
for 92067df. It will automatically update as commits are pushed.